package com.softoa.serviceImp;

import com.softoa.mapper.UserMapper;
import com.softoa.pojo.User;
import com.softoa.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImp implements IUserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User userSelectOne(User user) {
        return userMapper.userSelectOne(user);
    }

    @Override
    public List<User> userSelectList() {
        return userMapper.userSelectList();
    }
}
